<div class="page-header">
							<h1>
							<span class="black">
							<?php
							    if($user->stuinfo)
									echo $user->stuinfo->realName.' 学号：'.$user->username;
								else
									echo '姓名未添加'.' 学号：'.$user->username;
							?>
							</span> 同学 gsp 报表
							</h1>
</div>

 <span class="label label-xlg label-primary arrowed arrowed-right">学分统计(已通过审核)：<?php echo $total; ?></span>
<hr>
 <div class="row">
 <div class="col-sm-12">

<div class="table-responsive">
											<table id="sample-table-1" class="table table-striped table-bordered table-hover">
												<thead>
													<tr>
														
														<th>项目名称</th>
														
														<th class="hidden-480">能力平台</th>
														<th class="hidden-480">能力模块</th>
														<th class="hidden-480">项目级别</th>
														<th class="hidden-480">参加时间</th>
														<th class="hidden-480">等级水平</th>
														<th class="hidden-480">详情</th>

														<th>
															<i class="icon-time bigger-110 hidden-480"></i>
															添加时间
														</th>
														<th class="hidden-480">状态</th>

														<th>学分</th>
														
													</tr>
												</thead>

												<tbody>
												<?php
												  
												  foreach($stuGsps as $s){
													  if($s->condition == '1'){
															 $con = '<span class="label label-sm label-warning"><i class="icon-spinner"></i>&nbsp未审核</span>';
														 }else if($s->condition == '2'){
															 $con = '<span class="label label-sm label-danger"><i class="icon-remove"></i>&nbsp未通过</span>';
														 }else{
															 $con = '<span class="label label-sm label-success"><i class="icon-ok"></i>&nbsp已通过</span>';
														 }
													echo '
													<tr>
														<td>
															<a href="#">'.$s->name.'</a>
														</td>
														
														<td class="hidden-480">'.$s->plateform.'</td>
														<td class="hidden-480">'.$s->module.'</td>
														<td>'.$s->level.'</td>
														<td>'.$s->attendtime.'</td>
														<td>'.$s->prize.'</td>
														<th class="hidden-480">'.$s->detail.'</th>
														<td>'.$s->addtime.'</td>

														<td class="hidden-480">
															'.$con.'
														</td>
                                                        <td>
														'.$s->credit.'
														</td>
														
													</tr>';
												  }
												  ?>
                                                    
												</tbody>
											</table>
										</div><!-- /.table-responsive -->
									  </div>
									 </div> 
<div class="row">
  
</div>